#pragma once

class Picture
{
public:
	Picture(void);
	//BM_API void *BM_EXP htwOpenImage( const char *pFileName, int *pWidth, int *pHeight, int *pBytesPerPixel );
	Picture(unsigned char *_pic, int _pWidth, int _pHeight, int _pBytesPerPixel);
	Picture(int _pWidth, int _pHeight, int _pBytesPerPixel);
	void drawRectangle(int x0,int y0,int x1,int y1,int R,int G,int B,int alpha);
	Picture(Picture *_picture);
	Picture *operator=(Picture *_picture);
	unsigned char *getColorFromCoordinates(int _x, int _y);

	~Picture(void);

	unsigned char *pic;
	int pWidth;
	int pHeight;
	int pBytesPerPixel;

};
